<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 150px;
            height: 210px;
            background: #2db012;
            transition: 1s;
            border-radius: 20px 20px 20px 0;
            border: 2px solid black;
            position: absolute;
            left: 50%;
            top: 50%;  
        }
        .frist{
            z-index: -1;
            transform: rotate(-8deg) translate(-80%, -58%)
        }
        .second{
            z-index: -2;
            transform: rotate(-16deg) translate(-110%, -66%);
        }
        .thrd{
            z-index: 1;
            transform: translate(-50%,-50%);
        }
        div:hover{
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%) scale(2);
            z-index: 10;

        }
    </style>
</head>
<body>
        <div class="thrd"> </div>
        <div class="frist"></div>
        <div class="second"></div>
</body>
</html>